package com.neugh.service.impl;

import com.neugh.entity.Home;
import com.neugh.mapper.HomeMapper;
import com.neugh.service.HomeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sot
 * @since 2020-05-25
 */
@Service
public class HomeServiceImpl extends ServiceImpl<HomeMapper, Home> implements HomeService {

    @Override
    public List<Home> slectList(Home home) {
        return this.baseMapper.slectList(home);
    }

    @Override
    public Home selecHomeId(Integer homeId) {
        return this.baseMapper.selecHomeId(homeId);
    }
}
